package com.yanqu.road.entity.activity.yearMaster;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

@FieldTypeAnnotation(tableName = "t_c_activity_year_master_boss")
public class YearMasterBoss extends DataObject {

    @FieldTypeAnnotation(select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "boss当前血量")
    private long currentBlood;

    private int bossLevel;
    private long totalBlood;

    private int state;  //不存储
    private long lastLvBlood;


    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }

    }

    public void setCurrentBlood(long currentBlood) {
        if (this.currentBlood != currentBlood) {
            this.currentBlood = currentBlood;
            setOp(DataStatus.Update);
        }

    }

    public int getBossLevel() {
        return bossLevel;
    }

    public void setBossLevel(int bossLevel) {
        this.bossLevel = bossLevel;
    }

    public long getTotalBlood() {
        return totalBlood;
    }

    public void setTotalBlood(long totalBlood) {
        this.totalBlood = totalBlood;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getLastLvBlood() {
        return lastLvBlood;
    }

    public void setLastLvBlood(long lastLvBlood) {
        this.lastLvBlood = lastLvBlood;
    }

    public int getActivityId() {
        return activityId;
    }


    public long getCurrentBlood() {
        return currentBlood;
    }


}
